package jonggyuni.basic;

import java.util.Scanner;

public class J04_CalcurateFee {

	public static void main(String[] args) {
		//거리를 km로 입력했을 때 
		//배송료 계산 프로그램
		
		int dis;
		
		Scanner sc = new Scanner(System.in);
		
		System.out.print("거리를 입력하세요(km단위) : ");
		dis = sc.nextInt();
		
		if(dis<50){
			System.out.println("10000원");
		}
		else if(dis>=50 && dis<100){
			System.out.println("18000원");
		}
		else if(dis>=100 && dis<300){
			System.out.println("55000원");
		}
		else{ 
			System.out.println("75000원");
		}

		
		sc.close();
	}

}
